package org.yray.sip.rtp.sender;

import io.netty.util.Timeout;
import io.netty.util.TimerTask;
import org.yray.sip.utils.IcspBeanHolder;

public class TalkTimerTask implements TimerTask {
    private String callId;
    public TalkTimerTask(String callid)
    {
        this.callId=callid;
    }
    @Override
    public void run(Timeout timeout) throws Exception {
        IcspBeanHolder.getBean(RtcpSender.class).sendRtp(callId,"hello","10086");
    }
}
